package com.example.navigation.api.device

import dagger.hilt.android.scopes.ViewModelScoped
import javax.inject.Inject

/**
 * Created with IntelliJ IDEA.
 * @Author: Liao Run
 * @Date: 2024-06-10 3:38
 * @Description:
 **/
@ViewModelScoped
class DeviceRepository @Inject constructor(private val deviceApi: DeviceApi) {

    suspend fun getDeviceInfo(id: String) = deviceApi.getDevices(id)
}